home *** CD-ROM | disk | FTP | other *** search
- Yes, there is hope for all you Demo-code seeking people. I decided to
- let go of some of my source code. Well, to make nobody angry, some of
- the code was inspired by FC's 'Mental Surgery' and Abrash's ModeX articles
- (cool stuff!)
- In this little demo... mmh, actually it's not a demo, but a small electronic
- 'Birthday Card' which I wrote for a friend a few weeks ago (cheap B-card
- and I learned a lot!-) there's a sphere thingy and the words
- 'Happy Birthday' (creative, eh?) transforming back and forth and flying
- through space. Kinda hard to describe - just DL it and take a look!
- Here are some of the things you'll find (somewhere) in the code.
-
- -Sets ModeX without using int10h
- (pretty smooth transition from text to ModeX, but doesn't
- seem to work for some of my SVGA modes to ModeX ;-(
- -Gets you back to the mode you started from (using int10h.)
- (again a pretty smooth ride)
- -Misc ModeX stuff
- - SetPixel, GetPixel,...?
-
- -Fixed Point Math (16.16)
- -Square Root (woah!), Cos, Sin, *, /
- -XYZ-Rotations, 3to2D
-
- -Pseudo Random Number Generator
- (Knuth's random num. alg. - can't do without good old Knuth
- these days...)
-
- -Keyboard and Timer interrupt stuff
- (Synchronizes timer with VR)
-
- -Misc 3D stuff
-
- what you won't find:
- Music - For the origial prog I used a stripped down version of
- the VT player. But since this isn't MY code I didn't include
- it, and, of course, now there is VTDemo. So, if you want
- music, then VTDemo is the way to go...
-
- Lot's of comments - I comment my code only if I get paid for it!
- (not entirely correct but a good rule of thumb)
- I put some extra comments here and there, where I thought
- it might help and because I'm a nice person (most of the
- time anyway ;-) Just be happy with what's there.
-
- Two simple reasons why I released the code.
- One: I consider what I released to be pretty much elementary stuff.
- That is, this should give newcomers something to get started.
- Two: I can't stand seeing those pascal-only demos that barely get
- 2 fps on my 486/33. So, hopefully this will help to get you(?) going in
- assembler...
-
- All you need to run the prog. is a 386, the faster the better of course.
- If the prog doesn't run, dig a hole in the ground and bury your computer
- ...alternatively you could send me Email. Tell me if you find a bug or
- have an improvement.
-
- Last but not least, let's call this 'GreetWare' - Greet me in your
- program if you use any of the code. (If you don't, I'll eat you
- alive q;'(
-
- That's it, this message is getting too long - Enjoy, and be CREATiVE!
-
- -=* SliQ *=- fbecker@newsol.uvic.ca
-
-